<link href="<?php echo base_url(); ?>css/bootstrap.min.css" rel="stylesheet" media="screen"/>
<div class="container">
    <div class="row">
        <div class="span12">
            <?php if (validation_errors() != '') { ?>
                <div class="alert alert-block alert-error">
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                    <h4 class="alert-heading">Gagal!</h4>
                    <?php echo validation_errors(); ?>
                </div>
            <?php } ?>
        </div>
    </div>
    <span>Apakah anda yakin ingin menghapus ini ?</span>
    <h5>Soal <?php echo $materi; ?></h5>
    <hr/>
    <div class="row">
        <div class="buatsoal span12">

            <?php echo form_open('guru/soalsubmit'); ?>
                <?php echo form_hidden('id',$id); ?>
            
            <div class="control-group">
                <div class="controls">
                    <?php echo "<td><a href='" . base_url() . "guru/delsoal/$id' class='fancybox fancybox.ajax btn btn-primary'>Delete</a></td>"; ?>
                </div>
            </div>
<?php echo form_close() ?>
        </div>
    </div>
</div>
